<template>
  <el-aside width="200px">
    <el-menu
      class="el-menu-vertical-demo"
      background-color="#545c64"
      text-color="#fff"
      router
      default-active="/"
      active-text-color="#ffd04b">
      <el-menu-item index="/">
        <i class="el-icon-s-order"></i>
        <span slot="title">订单列表</span>
      </el-menu-item>
      <el-submenu index="/goods-list">
        <template slot="title">
          <i class="el-icon-s-order"></i>
          <span>新鲜货品</span>
        </template>
        <el-menu-item index="/goods-list">货品列表</el-menu-item>
      </el-submenu>
      <el-submenu index="/cms/customer">
        <template slot="title">
          <i class="el-icon-s-order"></i>
          <span>客户管理</span>
        </template>
        <el-menu-item index="/cms/customer">客户</el-menu-item>
        <el-menu-item index="/cms/consignee">收货单位</el-menu-item>
      </el-submenu>
      <el-submenu index="/order-file">
        <template slot="title">
          <i class="el-icon-s-order"></i>
          <span>文件管理</span>
        </template>
        <el-menu-item index="/order-file">订单文件管理</el-menu-item>
        <el-menu-item index="/cms-file">客户文件管理</el-menu-item>
      </el-submenu>
      <el-menu-item index="/licence-list">
        <i class="el-icon-s-order"></i>
        <span slot="title">许可证列表</span>
      </el-menu-item>
    </el-menu>
  </el-aside>
</template>

<script>
export default {
  name: 'MenuCom',
  props: {
    msg: String
  }
}
</script>

<style lang="scss" scoped>
.el-aside {
  background-color: #545c64;
}
</style>
